package cn.stylefeng.guns.modular.transport.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.basic.entity.BasicPutgoods;
import cn.stylefeng.guns.modular.basic.model.result.BasicPutgoodsResult;
import cn.stylefeng.guns.modular.order.model.params.OrderTransportParam;
import cn.stylefeng.guns.modular.transport.entity.TransportPlateStore;
import cn.stylefeng.guns.modular.transport.model.params.TransportPlateStoreParam;
import cn.stylefeng.guns.modular.transport.model.result.TransportPlateStoreResult;
import cn.stylefeng.roses.core.reqres.response.ResponseData;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 绑定门店 服务类
 * </p>
 *
 * @author zhangzh
 * @since 2024-06-12
 */
public interface TransportPlateStoreService extends IService<TransportPlateStore> {

    /**
     * 新增
     *
     * @author zhangzh
     * @Date 2024-06-12
     */
    void add(TransportPlateStoreParam param);

    /**
     * 删除
     *
     * @author zhangzh
     * @Date 2024-06-12
     */
    void delete(TransportPlateStoreParam param);

    /**
     * 更新
     *
     * @author zhangzh
     * @Date 2024-06-12
     */
    void update(TransportPlateStoreParam param);

    void setOrd(TransportPlateStoreParam param);



    /**
     * 查询单条数据，Specification模式
     *
     * @author zhangzh
     * @Date 2024-06-12
     */
    TransportPlateStoreResult findBySpec(TransportPlateStoreParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author zhangzh
     * @Date 2024-06-12
     */
    List<TransportPlateStoreResult> findListBySpec(TransportPlateStoreParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author zhangzh
     * @Date 2024-06-12
     */
     LayuiPageInfo findPageBySpec(TransportPlateStoreParam param, String condition);

    ResponseData noBindList(Long operateIdc, OrderTransportParam orderTransportParam);

}
